package conson.tech.manage.app.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import conson.tech.manage.app.entity.pojo.AppVersion;
import conson.tech.manage.app.entity.vo.AppVersionVo;
import conson.tech.manage.app.entity.vo.PageVo;
import conson.tech.manage.app.entity.vo.QueryAppVersionVo;

import java.util.List;

/**
 * InterfaceName: AppVersionService
 * Description:
 * Author: HXL
 * Date: 2020/4/27 10:58 上午
 * Version: 1.0
 */
public interface AppVersionService {
    List<QueryAppVersionVo> queryAppVersionList();

    int addVersion(AppVersionVo vo);

    int updateVersion(AppVersionVo vo);

    Page<AppVersionVo> queryAppVersionPage(PageVo vo);

    List<AppVersion> checkAppVersion(AppVersionVo vo);

    List<AppVersion> queryAppVersionByVersionNum(String version, Integer platformType);

    List<AppVersion> queryAppVersionByValue(List<Integer> list);

    List<AppVersion> queryNewVersionByVersionState(int versionState);

    List<AppVersion> queryNewVersionData(int versionState, Integer platformType);
}
